package com.cgsrp.cgsrp_baby.dao;

import com.cgsrp.cgsrp_baby.domain.Baby;
import com.cgsrp.cgsrp_user_province.domain.User;

import java.util.List;

public interface BabyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Baby record);

    int insertSelective(Baby record);

    Baby selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Baby record);

    int updateByPrimaryKey(Baby record);

    Integer[] foundChildByParentId(int userId);

    List<Baby> selectByParentId(int userId);

}
